#! /bin/bash

gcc -o debug main.c src/log_prep.c src/time_treatement.c src/fonctions.c src/readers_log.c 2>file_erreur.txt

if test $? -ne 0
then
	echo "ERROR : Compilation probleme"
	cat file_erreur.txt
else
	echo "****************************************"
	echo "       Compilation was succeed          "
	echo "****************************************"
	echo ""
	echo "***********programme lanches************"
	echo ""
	./debug
fi

